<template>
  <div>
      <van-search v-model="value" placeholder="请输入搜索关键词" :background="background.background"></van-search>
  </div>
</template>

<script>
import { Toast } from 'vant';
export default {
    data () {
        return {
            value: '',
        }
    },
    props: ["background"],
    methods: {
    onSearch(val) {
      Toast(val);
    },
    onCancel() {
      Toast('取消');
    },
  }
};
</script>

<style  lang="scss" scoped>

</style>